﻿using EPiServer.Core;
using PageTypeBuilder;
using SocialPack.Composer.PageTypes.Tabs;

namespace SocialPack.Composer.PageTypes.Twitter
{
    [PageType("1846d2b4-3a5d-4a97-8a19-25e83d620cf1", Filename = "/modules/socialpack/composer/functions/twitter/followbutton.ascx", AvailableInEditMode = false, Name = "[Twitter] Follow Button", Description = "Twitter Follow Button")]
    public class FollowButton : FunctionBase
    {
        [PageTypeProperty(Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string Language { get; set; }

        [PageTypeProperty(Tab = typeof(ComposerTab), EditCaption = "Twitter Name", Type = typeof(PropertyString))]
        public virtual string TwitterName { get; set; }

        [PageTypeProperty(Tab = typeof(ComposerTab), EditCaption = "Show Follower Count")]
        public virtual bool ShowFollowerCount { get; set; }
    }
}